package com.xxp.service;

import com.xxp.controller.request.UserPageRequest;
import com.xxp.entity.User;

import java.util.List;

public interface UserService {
    List<User> list();

    Object page(UserPageRequest userPageRequest);

    void save(User user);

    User getById(Integer id);

    void update(User user);

    void deleteById(Integer id);
}

